﻿#ifndef INSTRUCTIONTURNTABLESTOP_H
#define INSTRUCTIONTURNTABLESTOP_H

#include "ScriptInstruction.h"

class InstructionTurnTableStop :public ScriptInstruction
{
  Q_OBJECT
private:
  static const int byteArraySize=0;//除去指令类型标识符后的数据大小
public:
  explicit InstructionTurnTableStop();
  InstructionTurnTableStop(InstructionTurnTableStop const & instructionTurnTableStop);
  InstructionTurnTableStop& operator=(InstructionTurnTableStop const& instructionTurnTableStop);
  virtual ~InstructionTurnTableStop();
public:
  virtual void run()override;
  virtual QString toString()override;
  virtual QByteArray toByteArray()override;
  static ScriptInstruction* fromByteArray1(char * const src,int size,int * offset);
public://geter and seter
};
#endif
